using System;

namespace MallInteractiveMap.DTO
{
	[Serializable()]
	public class DTOUser
	{
		#region Field & Properties
		private int _Id;

		public int Id
		{
			get { return _Id; }
			set { _Id = value; }
		}

		private string _Name;

		public string Name
		{
			get { return _Name; }
			set { _Name = value; }
		}

		private string _LoginId;

		public string LoginId
		{
			get { return _LoginId; }
			set { _LoginId = value; }
		}

		private string _Password;

		public string Password
		{
			get { return _Password; }
			set { _Password = value; }
		}

		private string _Email;

		public string Email
		{
			get { return _Email; }
			set { _Email = value; }
		}

		private string _SecretAnswer;

		public string SecretAnswer
		{
			get { return _SecretAnswer; }
			set { _SecretAnswer = value; }
		}

		private DateTime _LastUpdated;

		public DateTime LastUpdated
		{
			get { return _LastUpdated; }
			set { _LastUpdated = value; }
		}

			public bool IsNew { get; set; }
		#endregion

		#region Constructors
		public DTOUser()
		{ }

		public DTOUser(int Id,string Name,string LoginId,string Password,string Email,string SecretAnswer,DateTime LastUpdated)
		{
			this.Id = Id;
			this.Name = Name;
			this.LoginId = LoginId;
			this.Password = Password;
			this.Email = Email;
			this.SecretAnswer = SecretAnswer;
			this.LastUpdated = LastUpdated;
		}

		#endregion
	}
}
